import instance from '@/utils/request'

// 提交登录的请求
export function loginApi(data) {
  return instance({
    url: '/sys/login',
    method: 'post',
    data
  })
}

// 获取用户基本资料
export function getInfoApi() {
  return instance({
    url: '/sys/profile',
    method: 'post'

  })
}

export function logoutApi() {
  return instance({

  })
}
